package com.example.chunqiubackend.mapper;

import com.example.chunqiubackend.pojo.Course;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface CourseMapper {
    /**
     * 查询所有课程
     */
    @Select("select * from course_list")
    List<Course> list();
}
